package com.kingyea.mobilepolice.userrole.bean;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Mr.Lin
 * @version v1.0.0
 * @description UserRole 实体类
 * 用户角色表
 * @date Created in 2018-03-30 15:30:01
 */
public class UserRole implements Serializable {

    /**
     * id
     */
    private Integer id;
    /**
     * 角色ID
     */
    private Integer roleId;
    /**
     * 组织ID
     */
    private Integer orgId;
    /**
     * 用户ID
     */
    private String userId;
    /**
     * 范围（1组织 2租户 3平台）
     */
    private Integer scope;
    /**
     * 创建时间
     */
    private Date createdDate;
    /**
     * 最新更新时间
     */
    private Date lastUpdatedDate;
    /**
     * 删除标识 0未删除 1已删除
     */
    private Integer isDeleted;

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRoleId() {
        return this.roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getOrgId() {
        return this.orgId;
    }

    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }

    public String getUserId() {
        return this.userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getScope() {
        return this.scope;
    }

    public void setScope(Integer scope) {
        this.scope = scope;
    }

    public Date getCreatedDate() {
        return this.createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public Date getLastUpdatedDate() {
        return this.lastUpdatedDate;
    }

    public void setLastUpdatedDate(Date lastUpdatedDate) {
        this.lastUpdatedDate = lastUpdatedDate;
    }

    public Integer getIsDeleted() {
        return this.isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }


}
